<template>
  <div id="app">
    <router-view />
    <BackTop />
  </div>
</template>
<script>
import BackTop from "@/components/BackTop";
export default {
  components: {
    BackTop
  }
};
</script>
<style lang="scss">
.left .is-active {
  background: #f6f6f6;
}
#app {
  height: 100%;
}
@keyframes rotation {
  to {
    transform: rotate(1turn);
  }
}
.separator {
  color: #e1e1e1;
  padding: 0 5px;
}
.content .page-content {
  font-size: 13px;
  letter-spacing: 1px;

  p {
    margin: 10px 0;
  }

  img {
    max-width: 100%;
    max-height: 550px;
    border-radius: 2px;
    cursor: zoom-in;
    display: block;
    margin: 0 auto;
  }
  h2 {
    font-size: 16px;
    border-left: 5px solid #87beeb;
    padding: 8px 0 8px 8px;
    border-radius: 4px;
    background: #f7f7f7;
    font-weight: 500;
    /*margin: 0 0 10px;*/
  }
  pre {
    font-size: 10px;
    border-radius: 0 0 3px 3px;
    code {
      font-family: Menlo, Monaco, Consolas, Courier New, monospace;
      word-spacing: 1px;
    }
  }
}

.loader {
  position: relative;
  width: 2em;
  height: 2em;
  transform: rotate(165deg);
  display: inline-block;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 0.25em;
  transform: translate(-50%, -50%);
}

.loader:before {
  animation: before 2s infinite;
}

.loader:after {
  animation: after 2s infinite;
}

@keyframes before {
  0% {
    width: 0.5em;
    box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75),
      -1em 0.5em rgba(111, 202, 220, 0.75);
  }
  35% {
    width: 2.5em;
    box-shadow: 0 -0.5em rgba(225, 20, 98, 0.75),
      0 0.5em rgba(111, 202, 220, 0.75);
  }
  70% {
    width: 0.5em;
    box-shadow: -1em -0.5em rgba(225, 20, 98, 0.75),
      1em 0.5em rgba(111, 202, 220, 0.75);
  }
  100% {
    box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75),
      -1em 0.5em rgba(111, 202, 220, 0.75);
  }
}

@keyframes after {
  0% {
    height: 0.5em;
    box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75),
      -0.5em -1em rgba(233, 169, 32, 0.75);
  }
  35% {
    height: 2.5em;
    box-shadow: 0.5em 0 rgba(61, 184, 143, 0.75),
      -0.5em 0 rgba(233, 169, 32, 0.75);
  }
  70% {
    height: 0.5em;
    box-shadow: 0.5em -1em rgba(61, 184, 143, 0.75),
      -0.5em 1em rgba(233, 169, 32, 0.75);
  }
  100% {
    box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75),
      -0.5em -1em rgba(233, 169, 32, 0.75);
  }
}

.disable-check {
  user-select: none;
}
</style>
